package com.ruoyi.cderp.service;

import java.util.List;
import com.ruoyi.cderp.domain.ProductionWarehousing;
import com.ruoyi.cderp.domain.ProductionWarehousingItem;
import org.apache.ibatis.annotations.Param;

/**
 * 产品入库Service接口
 *
 * @author ruoyi
 * @date 2025-06-15
 */
public interface IProductionWarehousingService
{
    /**
     * 查询产品入库
     *
     * @param id 产品入库主键
     * @return 产品入库
     */
    public ProductionWarehousing selectProductionWarehousingById(String id);

    /**
     * 查询产品入库列表
     *
     * @param productionWarehousing 产品入库
     * @return 产品入库集合
     */
    public List<ProductionWarehousing> selectProductionWarehousingList(ProductionWarehousing productionWarehousing);

    /**
     * 新增产品入库
     *
     * @param productionWarehousing 产品入库
     * @return 结果
     */
    public int insertProductionWarehousing(ProductionWarehousing productionWarehousing);

    /**
     * 修改产品入库
     *
     * @param productionWarehousing 产品入库
     * @return 结果
     */
    public int updateProductionWarehousing(ProductionWarehousing productionWarehousing);

    /**
     * 批量删除产品入库
     *
     * @param ids 需要删除的产品入库主键集合
     * @return 结果
     */
    public int deleteProductionWarehousingByIds(String[] ids);

    /**
     * 删除产品入库信息
     *
     * @param id 产品入库主键
     * @return 结果
     */
    public int deleteProductionWarehousingById(String id);

    List<ProductionWarehousingItem> selectOrderWarehousingList(@Param("id") String id);
}
